LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)

Add(TKey,TValue) Method

Show in webframe





The object to use as the key of the element to add.
The object to use as the value of the element to add.
Adds an element with the provided key and value to the IDictionary.
Syntax
public virtual void Add( 
   TKey key,
   TValue value
)
'Declaration
 
Public Overloads Overridable Sub Add( _
   ByVal key As TKey, _
   ByVal value As TValue _
) 
'Usage
 
Dim instance As ThreadSafeDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
instance.Add(key, value)

            

            
public:
virtual void Add( 
   TKey^ key,
   TValue^ value
) 

Parameters

key
The object to use as the key of the element to add.
value
The object to use as the value of the element to add.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionkey is null.
System.ArgumentExceptionAn element with the same key already exists in the IDictionary.
System.NotSupportedExceptionThe IDictionary is read-only.
Requirements

Target Platforms

See Also

Reference

ThreadSafeDictionary<TKey,TValue> Class
ThreadSafeDictionary<TKey,TValue> Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features